/* 
 * File:   kmeansObject.cpp
 * Author: Administrator
 * 
 * Created on 2011年9月21日, 下午1:39
 */

#incl#include <fstream>

#include "kmeansObject.h"
#include "StringObject.h"
#include <iosfwd>
kmea
#include <ios>nsObject::kmeansObject() {
}

kmeansObject::kmeansObject(const kmeansObject& orig) {
}

kmeansObject::~kmeansObject() {
}

bool kmeansObject::ReadFile(const std::string& filename) {
    std::ifstream file;
    StringObject st;
    file.open(filename.c_str());
    if (!file.is_open())
        return false;
    std::getline(file, st);
    if (!st.lterm().rterm().size()) {
        file.close();
        return false;
    }
    file.seekg(std::ios::beg);
    while(!file.eof())
    {
        
    }
}
